package com.finance.system.dao;

import com.finance.framework.lang.Page;
import com.finance.system.bean.pojo.Logistics;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: gly
 * @Date: Created in 2017/05/15
 */
@Component
public interface LogisticsManageMapper {

    List<Logistics> listByPage(Page page);

    Logistics getById(@Param("id") Long id,@Param("tableName") String tableName);

    int update(@Param("logistics") Logistics logistics,@Param("tableName") String tableName);

    Logistics getDetailById(@Param("dataTableName")String dataTableName, @Param("extendTableName")String extendTableName, @Param("id")Long id);
}
